package com.dk.api;

import com.dk.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient( value="springcloud-intelligent-recommendation-service" )
public interface IntelligentFeignApi {
    @PostMapping("/recommend/getCarId/{id}")
    Result getCarId(@PathVariable Long id, @RequestHeader("AuthToken") String token);
}
